package cn.gan.loveofsoul.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ganwh
 * @since 2023-11-08
 */
@TableName("photo_file")
public class PhotoFile implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 文件ID
     */
    @TableId("file_id")
    private String fileId;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 上传时间
     */
    private LocalDateTime uploadTime;

    /**
     * 排序
     */
    private Integer order;

    /**
     * 分组ID
     */
    private String groupId;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public LocalDateTime getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(LocalDateTime uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    @Override
    public String toString() {
        return "PhotoFile{" +
            "fileId = " + fileId +
            ", fileName = " + fileName +
            ", uploadTime = " + uploadTime +
            ", order = " + order +
            ", groupId = " + groupId +
        "}";
    }
}
